package top.jiangqiang.qyblog.common.exception;

import top.jiangqiang.qyblog.common.constant.ResponseEnum;

/**
 * 大多数情况下使用此异常类型
 * 此异常统一处理为json响应
 *
 * @author jiangqiang
 * @date 2022-07-24
 */
public class JsonException extends BaseException {

    public JsonException(String message, Object... arguments) {
        super(message, arguments);
    }
    public JsonException(String message, Throwable cause) {
        super(message, cause);
    }

    public JsonException(Throwable cause) {
        super(cause);
    }

    public JsonException(ResponseEnum responseEnum) {
        super(responseEnum);
    }

}
